package com.amigo.online.message.mapper.message;

import com.amigo.online.message.mybatisbean.GroupMessageTbl;
import com.amigo.online.message.mybatisbean.GroupMessageTblExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupMessageTblMapper {
    long countByExample(GroupMessageTblExample example);

    int deleteByExample(GroupMessageTblExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupMessageTbl record);

    int insertSelective(GroupMessageTbl record);

    List<GroupMessageTbl> selectByExampleWithBLOBs(GroupMessageTblExample example);

    List<GroupMessageTbl> selectByExample(GroupMessageTblExample example);

    GroupMessageTbl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupMessageTbl record, @Param("example") GroupMessageTblExample example);

    int updateByExampleWithBLOBs(@Param("record") GroupMessageTbl record, @Param("example") GroupMessageTblExample example);

    int updateByExample(@Param("record") GroupMessageTbl record, @Param("example") GroupMessageTblExample example);

    int updateByPrimaryKeySelective(GroupMessageTbl record);

    int updateByPrimaryKeyWithBLOBs(GroupMessageTbl record);

    int updateByPrimaryKey(GroupMessageTbl record);
}